/*
 * Copyright (c) 2007-2021 西安交通信息投资营运有限公司 版权所有
 */

package com.xci.xajtfb.bus.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.github.lvyanyang.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

/**
 * 线路信息
 * @author 马星俊 maxingjun@xci96716.com
 * @since 2021-03-09 10:28:18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "线路信息")
public class LineInfo extends BaseEntity {
    /**
     * 线路ID
     */
    @ApiModelProperty(value = "线路ID", position = 1)
    private String lineId;

    /**
     * 线路名称
     */
    @ApiModelProperty(value = "线路序号", position = 2)
    private String lineSerial;

    /**
     * 所属企业
     */
    @ApiModelProperty(value = "所属企业", position = 3)
    private Integer companyId;

    /**
     * 票制
     */
    @ApiModelProperty(value = "票制", position = 19)
    private String ticketSystem;

    /**
     * 票价
     */
    @ApiModelProperty(value = "票价", position = 20)
    private Double ticketPrice;

    /**
     * 是否刷卡线路(0否1是)
     */
    @ApiModelProperty(value = "是否刷卡线路(0否1是)", position = 22)
    private Boolean isSwipe;

    /**
     * 对应智能调线路ID
     */
    @ApiModelProperty(value = "对应智能调线路ID", position = 41)
    private String compareLineId;

    /**
     * 对应智能调线路名称
     */
    @ApiModelProperty(value = "对应智能调线路名称", position = 42)
    private String compareLineSerial;

    /**
     * 上行
     */
    @ApiModelProperty(value = "上行", position = 41)
    private SegmentInfo up;

    /**
     * 下行
     */
    @ApiModelProperty(value = "下行", position = 42)
    private SegmentInfo down;

}